package com.lisn.myopengles_20;

import androidx.appcompat.app.AppCompatActivity;

import android.app.Activity;
import android.os.Bundle;
import android.view.View;

import com.lisn.myopengles_20.OpenGLES20.OpenGLES20Activity;

public class MainActivity extends AppCompatActivity {

    private Activity mContext;

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_main);
        mContext = this;
    }

    public void OpenGLES20(View view) {
        OpenGLES20Activity.startActivity(mContext);
    }
}